﻿<UserControl x:Class="SSCCMembership.BusyIndicator"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="600">
    <UserControl.Resources>
        <ResourceDictionary Source="/SSCCMembership;component/MainResourceDictionary.xaml"/>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Visibility="Collapsed">
        <Rectangle Fill="Black" Opacity="0.5"/>
        <Grid VerticalAlignment="Center" HorizontalAlignment="Center">
            <Border BorderThickness="8" CornerRadius="20" Padding="5" BorderBrush="{StaticResource PurpleBrush}">
                <Border.Background>
                    <RadialGradientBrush GradientOrigin="-1,-1">
                        <GradientStop Color="#FF726F6F" Offset="1"/>
                        <GradientStop Color="White"/>
                    </RadialGradientBrush>
                </Border.Background>
                <Grid MinHeight="200" Width="500">
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition x:Name="R2" />
                    </Grid.RowDefinitions>
                    <TextBlock x:Name="Message" Style="{StaticResource Heading}" VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center" TextWrapping="Wrap">Loading</TextBlock>
                    <ProgressBar x:Name="ProgressBar" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" Height="20" Width="100"/>
                </Grid>
            </Border>
        </Grid>
        <Button x:Name="MessageDisplayBTN" Opacity="0" Click="MessageDisplay_Click" />
    </Grid>
</UserControl>
